package com.zhz.lib.project.vo.news;

import java.io.Serializable;
import java.util.Date;

import com.zhz.project.common.util.zhzutil.ZhzDateUtil;

public class NewsVO implements Serializable {

    private Integer newsId;
    private String  title;
    private String  content;
    private String  editor;
    private String  writer;
    private String  newsfrom;
    private String  keyword;
    private Integer aproveState;
    private Date    aproveTime;
    private String  sortType;
    private Date    pubDate;
    private Integer top;
    private Date    topStartTime;
    private Date    topEndTime;
    private Integer hit;
    private Integer ifDelete;
    // VO显示字符串用
    private String  pubDateString;
    private String  topStartTimeString;
    private String  topEndTimeString;

    public Integer getNewsId() {
        return this.newsId;
    }

    public void setNewsId(Integer newsId) {
        this.newsId = newsId;
    }

    public String getTitle() {
        return this.title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return this.content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getEditor() {
        return this.editor;
    }

    public void setEditor(String editor) {
        this.editor = editor;
    }

    public String getWriter() {
        return this.writer;
    }

    public void setWriter(String writer) {
        this.writer = writer;
    }

    public String getKeyword() {
        return this.keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public Integer getAproveState() {
        return this.aproveState;
    }

    public void setAproveState(Integer aproveState) {
        this.aproveState = aproveState;
    }

    public String getSortType() {
        return this.sortType;
    }

    public void setSortType(String sortType) {
        this.sortType = sortType;
    }

    public Date getPubDate() {
        return this.pubDate;
    }

    public void setPubDate(Date pubDate) {
        this.pubDate = pubDate;
        this.pubDateString = ZhzDateUtil.Date2YYYYMMDDString(pubDate);
    }

    public Integer getTop() {
        return this.top;
    }

    public void setTop(Integer top) {
        this.top = top;
    }

    public Date getTopStartTime() {
        return this.topStartTime;
    }

    public void setTopStartTime(Date topStartTime) {
        this.topStartTime = topStartTime;
        this.topStartTimeString = ZhzDateUtil.Date2YYYYMMDDString(topStartTime);
    }

    public Date getTopEndTime() {
        return this.topEndTime;
    }

    public void setTopEndTime(Date topEndTime) {
        this.topEndTime = topEndTime;
        this.topEndTimeString = ZhzDateUtil.Date2YYYYMMDDString(topEndTime);
    }

    public Integer getHit() {
        return this.hit;
    }

    public void setHit(Integer hit) {
        this.hit = hit;
    }

    public String getNewsfrom() {
        return newsfrom;
    }

    public void setNewsfrom(String newsfrom) {
        this.newsfrom = newsfrom;
    }

    public Date getAproveTime() {
        return aproveTime;
    }

    public void setAproveTime(Date aproveTime) {
        this.aproveTime = aproveTime;
    }

    public String getPubDateString() {
        return pubDateString;
    }

    public void setPubDateString(String pubDateString) {
        this.pubDateString = pubDateString;
    }

    public String getTopStartTimeString() {
        return topStartTimeString;
    }

    public void setTopStartTimeString(String topStartTimeString) {
        this.topStartTimeString = topStartTimeString;
    }

    public String getTopEndTimeString() {
        return topEndTimeString;
    }

    public void setTopEndTimeString(String topEndTimeString) {
        this.topEndTimeString = topEndTimeString;
    }

    public Integer getIfDelete() {
        return ifDelete;
    }

    public void setIfDelete(Integer ifDelete) {
        this.ifDelete = ifDelete;
    }

}